import request from '@/utils/request'

const prefix = '/user/message'

export function getMessageListService(params) {
  return request({
    url: `${prefix}/list`,
    method: 'get',
    params
  })
}

export function delUserMessageServiceByTextId(textId) {
  return request({
    url: `${prefix}/del`,
    method: 'delete',
    params: {
      textId
    }
  })
}